package com.wolfpire.section.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.service.IBaseHibernateService;
import com.wolfpire.system.model.Profession;
import com.wolfpire.system.model.Section;
import com.wolfpire.system.model.StudyHistory;
import com.wolfpire.system.model.Subject;
import com.wolfpire.system.model.User;

/**
 * 学科模块 业务层接口
 * @author xp
 *
 */
public interface StudyHistoryService extends IBaseHibernateService<StudyHistory, Long> {
	
	//学习章节的历史记录
	public void saveStudyHistory(long userId, long sectionId, String flag, String content, String xingxing);	
	
	//查找用户的学习记录
	public List<StudyHistory> findStudyHistory(long userId,String date);

	public int complempercent(Long subjectId, Long userId);
	//查找到对视频的评论
	public List<StudyHistory> findPinLunBySection(long sectionId, String flag);
}
